
/*
* Monobit.h
* Last edited: 21.07.2014
* Author: David Noack
*/

#pragma once

#include <iostream>
#include <string>
#include "NistTest.h"


/**
\class Monotbit
\brief Implementation of the Nist Monobittest
*/
class Monobit : public NistTest
{

	public:

		/** Construktor
		\param bitArray Represents the random bits which have to be tesed.
		\param bitArraySize The size of bitArry in bits.*/
		Monobit(bool* bitArray, int bitArraySize);

		/**Destructor*/
		~Monobit(){};

		/**Does nothing in Monobittest*/
		void start(){};

		/**Executes the Monobittest at the bitArray, given by the constructor.
		\param size The number of bits you want to test within the bitArray.*/
		double execute(int size);	
};

